剧圈圈[自动].js 1.3 KB

1234567891011121314151617181920212223242526272829
  1. var rule = {
  2. 模板: '自动',
  3. 模板修改: $js.toString(() => {
  4. Object.assign(muban.自动.二级, {
  5. tab_text: 'div--small&&Text',
  6. });
  7. }),
  8. title: '剧圈圈[自动]',
  9. host: 'https://www.jqqzx.cc/',
  10. url: '/vodshow/id/fyclass/page/fypage.html',
  11. searchUrl: '/vodsearch**/page/fypage.html',
  12. class_parse: '.navbar-items li:gt(1):lt(8);a&&Text;a&&href;.*/(.*?)\.html',
  13. cate_exclude: '今日更新|热榜',
  14. parse_url: 'https://137.220.183.102/jx/webcloud.php?vid=',
  15. lazy: $js.toString(() => {
  16. let kcode = JSON.parse(request(input).match(/var player_.*?=(.*?)</)[1]);
  17. let kurl = kcode.url;
  18. // log(kurl);
  19. input = rule.parse_url + kurl;
  20. let init_js = `Object.defineProperties(navigator, {platform: {get: () => 'iPhone'}});Object.defineProperty(window, 'self', {get: ()=> {return {};}});Object.defineProperty(globalThis, 'self', {get: ()=> {return {};}});`;
  21. input = {
  22. parse: 1,
  23. url: input,
  24. // js: `try{location.href = document.querySelectorAll("iframe")[2].src;}catch(err) {}document.querySelector("#start").click()`,
  25. js: `document.querySelector("#start").click()`,
  26. parse_extra: '&init_script=' + encodeURIComponent(base64Encode(init_js)),
  27. }
  28. }),
  29. }